<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"  %>
<%@ taglib prefix="tz" uri="/WEB-INF/tld/fntld.tld" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'updatePage.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="<%=path %>/css/mine.css" type="text/css" rel="stylesheet">
	<link href="<%=path %>/css/custom.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<%=path %>/js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="<%=path %>/js/user.js"></script>
	<script type="text/javascript" src="<%=path %>/js/dream_plugins.js"></script>
	<style type="text/css">
	table{margin: 150px auto;}
	</style>
	
  </head>
  
  <body>
  <div class="div_head">
		<span> <span style="float:left">当前位置是：用户管理  》 修改信息</span> <span
			style="float:right;margin-right: 8px;font-weight: bold"> <a
				style="text-decoration: none" href="./admin.php?c=goods&a=showlist">【主页】</a>
		</span>
		</span>
	</div>
  <center>
   <form action="" name="userupdate" id="userupdate" method="post">
    <table>
     <tr>
     <td><label>帐号:<input type="text" name="user.cusername" value="${user.cusername}"> </label> </td>
     </tr>
     <tr>
     <td><label>昵称:<input type="text" name="user.cshowname" value="${user.cshowname}"></label> </td>
     </tr>
    
     <tr>
     <td><label>邮件:<input type="text" name="user.cemail" value="${user.cemail}"></label> </td>
     </tr>
     <tr>
     <td><label>电话:<input type="text" name="user.ctele" value="${user.ctele}"></label> </td>
     </tr>
      <tr>
     <td><label>等级:
     <select name="user.clevel">
     <option value="${user.clevel}">${tz:checkLimits(user.clevel)}</option>
     <option value="2">普通用户</option>
     <option value="1">超级管理员</option>
     </select>
     </label> </td>
     </tr>
     <tr>
      <input type="hidden" name="user.cid" value="${user.cid}" />
      <input type="hidden" name="user.cregtime" value="${user.cregtime}" />
      <input type="hidden" name="user.clogintime" value="${user.clogintime}">
      <input type="hidden" name="user.cpassword" value="${user.cpassword}">
     <td colspan="2">  <input  type="button" name="" onclick="update('userupdate','User_update')" value="修改"/>&nbsp;
     <input type="button" value="返回" onclick="back()">
     </td>
     </tr>
    </table>
    </form>
    </center>
  </body>
</html>
